package com.intent.demo;

import android.content.Intent;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.util.Log;
import android.view.View;

import com.frameproject.R;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class Activity_A  extends AppCompatActivity {
    private  String TAG="INTENT_TAG";

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_a);
        Log.i(TAG,this+"这是一个A界面~~~~");
    }

    public void goBt(View view) {
        Intent intent= new Intent(Activity_A.this,Activity_B.class);
        startActivity(intent);
    }
}
